try to fix bug when endMatch