fix bugs in save D_HIST_PATH