some fixes to IE8