fixed issues with codenarc and spock