fixing use of language codes