debug version for RX_BUF_SIZE bug