+ fix rtt relation sql