Fix mistake in datError