Fix ServerType NPE.