fix bug with IE