fix "keep rootfs" issue