fix save image directory for dax