avoid changes to the original image