fix paths in copied files