photos syntax fix