logging
fix rtt sampling