clean useless options