fixed problem with parameter stubbing