fix deploy directory bug.

fix deploy directory bug.