modify pair_sdpd.cpp