remove invalid configuration