fixed rx_log (debug log) memory access bugs