pairs backgound and minor fix