removing dependencies that are not used