fixed error in sync.sh script