remove redundant options in soap pregraph