bugfix on error message in view data