Fixed logger errors