Fixed WebPage variable initialization