fix coverity issues
small HTML enhancements