init error controller before trying to use it