fixed json ref for pages