Fixed a bug in the toString() function calling getChar on this