deleteting useless dependencies and files