fix rtt stuff