fix event prevent default issue