Fixed typos

Fixed 2 typos. Was $vierParams instead of $viewParams