fix inheritance by using view