fix photos field