fixed bug with popovers