fixing new chroot-install code