fix copy paths of shared files