fixed typos in html and rest of code that created display problems