fix(completion): fix evlauation of code completion in context of thread