fix sync1 bugs