[PATCH 1/2] qm: fixup the problem of wrong judgement of used parameter