fix singleton in static pages