fixed dnagling scoreSum in selectFromType