modify format information of ref.txt