de-globalized print_rtt
fixed resolve_names options struct init bug
de-globalized print_rtt