fix dest dir bug