fixing photo issue