fix match object bug