adding debug for detecting loss of rt