fixes for so-called web standard compliance