fixed bug when third word list is empty
why this no work?