GRAILS-10778 - fix mistakes in sample code