fixed match history bug