Fix config dump bug and bump version to 0.5b