restart time bug fix