avoid writing nil to stats file