change the order of params in is_iq_result/2