fix matches