The compactness of E(X)