removed STATIC_PAGE check