removing locate hook