memory_fs fix type
simple database compact