use inherit view but not right way