fix status.php