fixed bugs, bumped version to 0.2