fix some bug and publish 0.5.02