attempt to fix date issue in image generation