mods to correct static page errors