fixed event.php