few bug fixes
v0.2b4