fix ramfs sleep