cleaning unwanted dependencies