fixed a bug in ascii conversion, rmoved stray printfs