rxbuffer was not volatile