fix ParseSearchString bug