fixed a bug in my code that printed two separate pairs of one of my images (tile25).