fix lcod again
add some debugging to on_peer_recover invocation