Some correction to HTML View class