popover event fix