countdown bug fix