fix pages parents