ascii table read write bugs fixed