Photo always have different hashcode - fix this