Fixed a bug with Putchar