fix problem with editing contacts