fix sync command