Debugging the countdown error