fixed bugs and update to 0.2.0