unhook() is working