fixed bug in count down timer