fix build fail and change view