change the erro handle