clean coding style in interact_query_decision