fixing case where there are no pairings