Fix silly crash with log module