modified index of unattached messages