Fixed Error with Printing Wrong Characters