fix a tag missing title attribute, other bug fixes.