Small log bugfix