avoid potentially "null" log messages