bump version to 0.1.0-beta and enhance purging