added back purge dir