diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6be6893..0d580ca 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,3 +1,13 @@
+
+## 3.0.3-beta.1 (2018-07-14)
+
+* feat: add tagMode. ([e2ac803](https://github.com/EYHN/hexo-helper-live2d/commit/e2ac803)), closes [#122](https://github.com/EYHN/hexo-helper-live2d/issues/122)
+* chore: update dependcies ([dd3d5da](https://github.com/EYHN/hexo-helper-live2d/commit/dd3d5da))
+* docs: update CHANGELOG ([b9f107a](https://github.com/EYHN/hexo-helper-live2d/commit/b9f107a))
+* docs: update issue template ([eaa22a4](https://github.com/EYHN/hexo-helper-live2d/commit/eaa22a4))
+
+
+
## 3.0.3 (2018-05-19)
diff --git a/index.js b/index.js
index 0ca2af4..fe874a1 100755
--- a/index.js
+++ b/index.js
@@ -201,7 +201,7 @@ if (config.enable) {
const scriptToInject = `L2Dwidget.init(${JSON.stringify(config)});`;
const contentToInject = ``;
let newHtmlContent = htmlContent;
- if (/([\n\r\s\t]*<\/body>)/i.test(htmlContent)) {
+ if ((/([\n\r\s\t]*<\/body>)/i).test(htmlContent)) {
const lastIndex = htmlContent.lastIndexOf('