fix groovy scoping issue