Fix sniffer bug
Fix sniffing bugs
Pad the templatePage content