get score handler to work correctly