remove hook perms