hopefully fix logging-crash (workaround)