fix for Groovy