fix photo issue