couting bug removed