changed name job-state to jobstate