fix null pointer bug when max match is set but not found
bump up to v0.2.6