Added viewData check on view ctor

new view construction return value