version-0.3.1

fix some bugs