big fixes to WebPageImpl