fix some bugs; rename viewTest->viewDemo