improve image quality and output