delete wrong files and replace with working files