fixed a few bugs
Merge pull request #2 from buttercoin/butter-connect

fixed a few bugs