Fixing same one  loadindex() bug in DocOnly