clean up dependencies.