fix Logger class and Utils