Clean match.php