clean title before outputting it