fix mistake in example code