remove legacy -nowrap prims