bug fix in chroot script