fixed first level tree index outofbound exception when dropping