some cleanup of dependencies