fix string compare warning in partioGenerator.so