Fixing pages context.