v0.2 fix some bugs

v0.2 fix some bugs