Fix countdown bug