remove dirt around the image