Fix string compare bug [issue #8]
This fixed #8 issue
Signed-off-by: mzcwlong <mzcwlong@vip.qq.com>