buttons on matches page working