bugfix in chroot script