general cleanup of TLD init