fix pages property