Fixed wrong use of language object.