test
fixed char checking bug