Changed setup to set the correct view.