fix job change system. fix minor compile warning.