fix bug for admin editing a user