Fixes a bug in Base\Controller