diff --git a/src/WPDesk/Notice/views/admin-head-js-gutenberg.php b/src/WPDesk/Notice/views/admin-head-js-gutenberg.php
index 4cc3d1227a097dfc28880af3bec840771a45a6b0..aceb3dba68520a81331a7db723d0a22de003db23 100644
--- a/src/WPDesk/Notice/views/admin-head-js-gutenberg.php
+++ b/src/WPDesk/Notice/views/admin-head-js-gutenberg.php
@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) {
 } // Exit if accessed directly
 ?>
 <script type="text/javascript">
-    <?php include dirname(__FILE__) . '/../../../../assets/js/gutenberg.js'; ?>
+    <?php include dirname(__FILE__, 4) . '/assets/js/gutenberg.js'; ?>
 </script>
diff --git a/src/WPDesk/Notice/views/admin-head-js.php b/src/WPDesk/Notice/views/admin-head-js.php
index 08532f1126aa095d02ba1560f714c6eace8555ca..95c17c683472ee84d42cede215601b04bf840996 100644
--- a/src/WPDesk/Notice/views/admin-head-js.php
+++ b/src/WPDesk/Notice/views/admin-head-js.php
@@ -4,5 +4,5 @@ if ( ! defined( 'ABSPATH' ) ) {
 } // Exit if accessed directly
 ?>
 <script type="text/javascript">
-    <?php include dirname(__FILE__) . '/../../../../assets/js/notice.min.js'; ?>
+    <?php include dirname(__FILE__, 4) . '/assets/js/notice.min.js'; ?>
 </script>