fixing sync for transactions