clean redundant settings