small fix to html
clean up and add more comments