fix for groovy 2.2