removing dependencies that are not needed