Add basic error output need fix