Tweak to wrapdistf