subtle fix in rawDataReceived