fixed incorrect groovy method call