dealt with last user deletion issue