fixed test results
hook for error recovering