fixing incorrect memory_image path