fix to require wrapper