remove unnecessary optionpane