getminimumIndex reupload