polishing the images