Bug fixed for edit profile