fix bugs and bump version