Fixing resources.groovy