check if the capacity is null