fix build type = ram