fixed broken logger