remove unneded configurations