fixed getscore

*untested*