fix spelling mistake

Fixed a spelling mistake in one of the code samples.