update to v0.2.2-beta

fixed issue #5
found issue #6