Remove useless configurations