fixed double tagged <foreign>