fixed flaw with displaying ascii code