implements override methos to fix problems with grails 2.3.x