fixing stop words validation