Disable html5Mode
Fix Mainpage.get being called two times