changed index warning to a note