fixed getDepth being always 4