fixes duplicate photo issue, worthy of new version number