improve image rendering