removed MR_inThreadContext