Small change for image generation from formula