fixbug job class and some missing function
fixbug job class and some missing function