I moved it in bootstrap.php, it's correctly work