moved sync to chroot