fixed string equality check