replace corrupt raw html file