fixed a selection problem in dependency view