fix some bugs about xml-----20140923
 					   -----by littlekitty
running background when some jobs are unfinished-----20141201
 					   							-----by littlekitty