some fixes in edit contact