preprocess task context added