zibnata is right that is what should be done, something you may also want to look at is when you push receptacle back in box make sure bare ground wire does not touch white wire (neutral) or screw it is under. this will also cause it to trip and is a very common mistake when installing a gfci
ps...