Do not modify the gun, check your manual. I assume you have the manual?
You may have put the little plastic piece (forearm retainer) backwards. The gun works as shipped. I assume it worked before you disassembled it.
Experience is a very bad teacher because it first gives you the test and then teaches you the lesson.