Replace faulty target file