Correct crash if no lang is defined