remove unnescesarry codes in editProfileForm