renamed session_idx -> domain_session_idx