toChar() fix

extended description here