guard against no log given