fixed a bug on addPage DoomsDayMyDear to print the correct URI to end of file
fixed a bug with listAllPages to load the indexes in order based on id