fixing sync