fix mistake in view files