adapt text to new parser