ACT-1518:  fixing image generation