pairwise fix for error