fix deletion of user