ansi pen, fixing output weirdness