Fix bug on IE