fix status counts