fix mistake in models