fix term output of formula parsing (newlines...)