fixed spelling mistake in error logging