remove bad dependencies