fix IE8 event problem