bug on insert_sync_action