fix file symbolic bug when share or update deployment.