clear useless options