getAnalyzer wasn't at the right place at all