fix glitch.php