Fix internet explorer bug