added sync in chroot