Resolve bug for IE8