fix restub dependency