lets dry to detect a fatal in api.php