fixing the global ref to delta.