Fixing zero count bug on timer