fixing main.html not found bug