v. 0.0.2 add substr search and fix some bugs