fixed unqualified call to log()