fix if user doesn't exist and deactivate hook