fixing unpairing