Fix routes bug in html files