getting rid of stubs