fixed strstr issue in unnecessary namespace usage sniff