selecting stock tree now functions properly