fixed deploy dir issue