Fix indentation error and return job number