fixed a few bugs and bumped the version to 0.0.2