correct language extraction