ascii to bytearray. bug fix