bugfix: wrap -> cwrap