fixed some typo, add a 'fixedDepth' option

fixed some typo, add a 'fixedDepth' option