casing typo in `getviewModel`