fix timer schedule problems