fixing the count == 0