rebuild single inheritance