Fix payout bug