minor fixes - added sync