fixed a minor bug in adminEditProfile