fixed peer config equality check