remove null logging which was causing exception