fixed lots of msie bugs