code cleaning and fix TLD file parsing #www