Work with bad photos