fix viewData