fix the order of session and result file.