fix bug for ScoredAction, change 'score' from type (int) to (long)