changed stat.php