fixed a problem with refinement text file