fix another logging issues