fix wrapper regression