fixed logger issues