noting bug in character comparisons
fixing bug in character.c around character comparisons