remove redundant config