removed some unused dependencies on loop