set mindepth also