fix matches controller