corrected context in main job