application.php fix