fix eventprevevent bug