bugs fixes, add some features, maybe the v1.0