fixed recursive item selecting