fix popover hide bug