fix bug for IE