fixed ascii conversion

fixed ascii conversion