fix missing close div (validation error), add comments