dependences selection bug fixed