fix timer livecycle error