Fix fs-db bug and bump version to 0.2.2