bugfixes for IE