remove console, cleanup htmls