finalize the html, checked with W3C-validator