fixing logger take 2