Bugfix in view