fixing herance on nes_types