fix to work with hydro (which uses same setup with groovy)