solving logical error for <=2 stop words