If you push the rear retaining pin, and look behind the trigger group, you will find a small screw. That screw is there to tighten any gap between the upper and lower. If tightened to much the take down pin will be hard to remove. So, approach it systematically!
RPerez