more changes to fit Grails server