issues with groovy