fixing pairings api