set number of jobs based on cfg
fix ; missing