remove pointless configurations