fixed wrong groovy compilation