get rid of pointer stubs