Fixed minor bug on IE