try to fix page generation