fix double spends