error checked

fix some errors, wrapper removed was causing errors in code checker.