fixed photo persistance