remove safe hooks