resolves closures deps