Language cache bugfix

Fixed the wrong variable definition.