Fix logger errors