clean up external dependencies