remove useless code to open options page