update version
fix bug and add test
Merge branch 'release/0.2.1' into develop

* release/0.2.1:
  fix bug and add test
  update version