fix subpage references