removing useless options