fixed the copy of files for CDH5