correct the logger errors and modified windows