cleanup of the generated htmls