fixed apply chroot && global