fixed no last word bug