fixed a typo
sync functionality