small fixes on --config and --unconfig