remove unneded dependancies.