another logging fix...late night