modify pages rendering