Fixed groovy compile error