fixed thinker capture function