Fix bad dependencies