Fix typo in sail_viewstate