remove useless deps and options