fix error with titles