few fixes for IE 8/9