fix selection scoring bug