Fixed the speical output error case