converted images back to the way they were