fixed Bug #204
reference to http://jira.grails.org/browse/GRAILS-2114