remove excess linebreaks from removing asserts