upgrade to Grails 2.3.6 and fix issue #658

upgrade to Grails 2.3.6 and fix issue #658