fix file names in prepare