fix timer not invalidate