fix error with server not loading index.php automatically