view error fix, needs verification
Merge pull request #602 from Zolmeister/viewErrFix

view error fix, needs verification