quickfix if model is passed via groovyscript