window argument to kwic wasnt getting passed