attrib error needed to turn photo_date from int to str