Fix to base_memory_type