fix url to photos