fix a getUserById misUsing issue.