fix random error

was stubbing the wrong object

@bf4 @jeremy