bugfix, job arrray index