improving fatalHandled.php