impovements in system language detection