fixes for IE support.