Fix: bugs in rootfs