fix bug on edit profile