fix pairing