Fixed depth_ bug and add times_of_selected_
same as last commit
depth_ bug fixed add times_of_selected