cppbc: important method wrapper gen. bugfix