make the inheritance checker more relaced