Fix inhertitance namespace issue