fixed bug in chroot script