fix getUnspentCoins