cleanup stanford annotator, and fix token index