Fixed errors with ramdisk