fix error controller xdebug bug