small fix for editProfile