missed setting the current context before setcontext