fix deleting user bug