fix filtering empty when words delimiter isn't ' '