fixed string equality issue