In reply to MayurKubavat:
When I changed the order of the get (rx, and then tx) I got error regarding the tx.