fix tournament prize function