fix the ascii bug