fix bug for ie