fixes log reference.