fix count is 0 issue