minor tweaks for grails 2.4 compatibility