bugfix main.html