Removed bug in view