cleanup dependencies.