some fixes for IE 5775