fixed bugs related to edit profile page