fix printing special chars