removed empty words from array