fix spec for config