misc changes for html compliance