htmldoc fixed