fix bug in languages definition