Bugfix: use char code but not atom.