fixed image rendering problems in production