match object bug fix