Fix page IDs