fix problem from popover with quotes