fixed bug in countdown