fix commonjs