fix issue with empty language list and +2 languages