Fixing the public index file.