Fixed minor bug related to language system