WIP - Fixing sync_table_spec