Remove some useless or redundant options