syntax error fix with groovy