[Acc] [PATCH 04/10] ecc: bugfix about repeated alg and dev queries