Update WAnalyzerS.java

Fixing bugs