fixing bugs on edit profile form