fix auto deploy issue