fixed bug in match view