plugin patch for support the dict query