FIxed photo bug