update rx and improve debugging