Fixed bug on profile edit.