fixes #7 with grails 2.4.2