remove nonprinting characters from malan