second error correction to RawInput