add html changes and fixed some errors