fix errorOut