reverting change accidentally committed to apply.groovy