fixed wrong variable in user model