Fix. Fix popover, fix printing flat page. issue929, issue931