fix vtable defintions