correct bug with newChantier function