quick bitcount fix