remove not relevant configurations