Cleanup useless configurations