fixes for XHTML Transitional compliace