fixing bug in target loci feature