remove trailing \n which got removed by the parser anyway. Attempt to fix