Fix nil for pages