Another bug has fixed
Error controller and redirect methods initialized