order count fix