remove invalid language code