diff --git a/src/Kernel/Application.php b/src/Kernel/Application.php
index <HASH>..<HASH> 100755
--- a/src/Kernel/Application.php
+++ b/src/Kernel/Application.php
@@ -4,6 +4,7 @@ namespace Encore\Kernel;
 

 use Encore\Container\Container;

 use Symfony\Component\Debug\Debug;

+use Encore\Container\ServiceProvider;
 use Encore\Config\ServiceProvider as ConfigServiceProvider;

 

 class Application extends Container

@@ -132,7 +133,9 @@ class Application extends Container
      */
     protected function registerProvider(ServiceProvider $provider, $force = false)
     {
-        parent::registerProvider();
+        parent::registerProvider($provider, $force);
+
+        if ( ! in_array($provider, $this->registered)) return;
 
         if ($this->booted and method_exists($provider, 'booted')) {
             $provider->boot();
Fixes to registerProvider method