bug with duration in cleanlog fix