fixing issue with demo_with_images template