Fixed bug for IE8.