The detailed investigation demonstrates that carboxylic acid groups may have an
effect on the negative shift of the valence band edge of NiO induced by surface
proton which lowers the hole-injection process and the device photovoltage, while
the pyridine ring works effectively without this problem.