add text postprocessing