fixes for IE8 (2)