fix problems with popover placements 2