bugfix to job contexts