fixed scoring bug in new API method