minor modification in data saving path