fixing error for having no friends with loci