fix for comparing against Char