FIX fatal
Change config and ioc conteiner