fix up sync command