fixed rtt bug