fixed count issue