remove invalid "internal type" for field