bug fix in user object