remove useless dependencies