fix repeat sync issue
fix initialization