more fixes for IE < 9