rename and replase files
correcting code