Fix CountId error