fix commonjs issue