Fixed silly bug in view