fixed error after removed the user.