fixes photo url