fix rendering of groovy code