fix bug in span log rates