made language registry even more robust