fix counts