remove the useless options