debugging some of the editprofile