Bug fix
Modify usage of stub.groovy