Fixed bug for IE