fixing sync on build