fixed the snapshot destination dir bug