fixed error on scoring