overflow issue in logging corrected