added check for IE