remove global decctx references in transform.cc