changing to fit Grails server