temporary compatibility workaround for usage of MemoryBase