refactor jobconfig