fix sync status and operation types