remove a rogue newline