fix getDisplayName nullability assertion