fix lcod again
add some debugging to on_peer_recover invocation
calc_ec_acting