Added debug to contact sync