Workaround for strange grails behavior