bugfix wrapper function

adding wrapper function to fix build project