small cleanup in lang-id