fixed bug with number of jets