fixed mistake in controller and not wanted view