Fixed warnings related to popoverapi