photo glitch fix and alert deletion