fix for application.php