removed depth = 0 when no depth specified