Start off by removing the catch. Press the mag catch button all the way in with a pencil, and then turn the catch (other side) counter clockwise to remove.
You should have a catch, spring, and button. Now lightly lube the parts, and reinstall them. When completed, the threads on the catch should be level with the button face.
Now shotgun the rifle open (lower/upper), and insert a mag into the lower until it locks in place. Gently lower the upper and lock the upper in place (rear take-down pin). Press the mag release, and the mag should drop down. Now push the mag back up, and then using the palm of your left hand, give the bottom of the mag a blow to seat it back in the rifle.
Also, on a fully loaded mag, with the carrier/bolt all the way forward and locked, you will need to love tap the mag to seat it in the catch. The fully loaded mag asserts a lot of tension on the bottom of the carrier, and the tap will force the rounds back down into the mag to allow the mag to seat/lock.