hacked debug hook