added nuke/unnuke protection to gp.pre