Fix 'can not count to zero' error.