fixed matchid double update