fixed commonjs wrapper