timer: fix timer