Fix Character comparison