fix txt fail