clearing the image