fixed the deleted user bug