Fix withdrawals bug