fix rootfs copy