try to fix pairwise