fix bug: drill down depth was not calculated correctly