fix bug in purify script: purify the correct file in the daily cronjob