catch empty lists + typo

catch empty lists + typo