0.624 fix bug in protocol pinning