Remove newline literal and duplicated info