Fix rtt crash