fixing logger blow up